﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace SiGeSIB.Data.Management
{
	/// <summary>
	/// Classe que representa um membro da igrejas
	/// </summary>
    public class Member : Frequenter
    {
		public Member()
			: base()
		{
		}

		public DateTime MembershipDate { get; set; }
		public EMembershipType MembershipType { get; set; }
		public DateTime? DisruptionDate { get; set; }
		public EDisruptionType DisruptionType { get; set; }
		public override EContributorType ContributorType
		{
			get
			{
				return DisruptionDate.HasValue ? EContributorType.Away : EContributorType.Member;
			}
		}
	}
}
